export const get_receive_state = function (State: string): string {
  const receive_states = {
    In: '在住',
    '0': '在住',
    Out: '退房',
    '1': '退房',
    Hold: '临时账',
    '2': '临时账',
    '9': '预订',
    Book: '预订'
  }
  // @ts-ignore
  return receive_states[State]
}

export const get_receive_classes = function (): Array<any> {
  return [
    {
      key: '全天',
      value: 'ALL',
      numberValue: 0
    },
    {
      key: '钟点',
      value: 'DU',
      numberValue: 1
    },
    {
      key: '自用|免费',
      value: 'HU',
      numberValue: 2
    }
  ]
}
